﻿namespace BodaNetCommunications.FinsComs.FinsUtils
{
    public enum FinsAreas
    {
        // CIO   0x30   BIT    0xB0  Word
        //       0011 0000     1011 0000
        // WR    0x31   Bit    0xB1  Word
        //       0011 0001     1011 0001
        // HR    0x32          0xB2
        //       
        // AR    0x33          0xB3

        // DM    0x02          0x82
        //       0000 0010     1000 0010
        // 位运算    + 0x80

        //CIOBIT = 0x30,
        //WBIT = 0x31,
        //DMBIT = 0x02,
        //ABIT = 0x33,
        //HBIT = 0x32,

        //CIOWORD = 0xB0,
        //WWORD = 0xB1,
        //DMWORD = 0x82,
        //AWORD = 0xB3,
        //HWORD = 0xB2,


        CIO = 0x30,
        WR = 0x31,
        HR = 0x32,
        AR = 0x33,
        DM = 0x02
        // 判断需要获取的数据类型不是Bool的时候    + 0x80
    }
}
